<%@ page contentType="text/html;charset=gbk" %>
<%@ page import="java.util.*, com.oa.jsinfo.*" %>

<%
 out.print(request.getParameter("a"));
%>
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
<form name="a" method="get" action="test_tmp.jsp">
<input name="a" type="text"
  onkeypress="if ( (event.keyCode < 48 || event.keyCode > 57) && event.keyCode != 13) event.returnValue = false;">
</form>
